package com.message;

import com.constant.MessageType;
import lombok.Data;

/**
 * 退出群聊的请求消息
 */
@Data
public class ExitGroupChatReqMessage extends DefaultMessage{

    private String groupName;

    public ExitGroupChatReqMessage() {
    }

    public ExitGroupChatReqMessage(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public int getMessageType() {
        return MessageType.GROUP_QUIT_REQUEST;
    }
}
